<template>
  <div id="app">
    <img alt="Vue logo" src="./assets/logo.png">
    <!-- <HelloWorld msg="Welcome to Your Vue.js App"/> -->
    <!-- <lifestyle-test v-if="showLifeTest" /> -->
    <!-- <test /> -->
    <!-- <custom-event /> -->
     <!-- <slot1 /> -->
     <!-- <div>
      show lifetest: <input type="radio" :value="true" checked v-model="showLifeTest">
      <br>
      hide lifetest: <input type="radio" :value="false" v-model="showLifeTest">
      
      <lifestyle-test v-if="showLifeTest" />
      
    </div> -->
    <functional1 :some="233" name="a" :class="{someC: true}" @click="console.log($event);" @dblclick.native="console.log($event);">
      <p>child one</p>
      <p>child two</p>
      <template>template!!</template>
      <test />
    </functional1>
    <test>
      <p>child one</p>
      <p>child two</p>
      <template>template!!</template>
    </test>
  </div>
</template>
<script>
// import HelloWorld from './components/HelloWorld.vue'
// import Slot1 from './components/slot-test/slot1';
// import MyTable from './components/Table';
// import Transition2 from './components/effects/Transition2';
// import TransitionGroup2 from './components/effects/TransitionGroup2';
// import TweenNumber1 from './components/effects/TweenNumber1';
// import TweenColor1 from './components/effects/TweenColor1';
import Functional1 from './components/functional/Comp1';
// import EventTest1 from './components/event/EventTest1';
// import VmodelTest1 from './components/feature_test/VModelTest1';
import Test from './components/test';
// import LifestyleTest from './components/lifestyle/Parent';
// import CustomEvent from './components/event/CustomEvent';

export default {
  name: 'app',
  components: {
    // HelloWorld,
    // Slot1,
    // MyTable,
    // Transition2,
    // TransitionGroup2,
    // TweenNumber1,
    // TweenColor1,
    Functional1,
    // EventTest1,
    // VmodelTest1,
    Test,
    // LifestyleTest,
    // CustomEvent,
  },
  data(){
    return {
      someProp:'corleone xiao',
      someProp1: [34,56,true],
      showLifeTest: true,
    }
  },
  mounted(){
    console.log('the this for app:', this,);
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
